﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Entity.Message
{
    public class Tree
    {

        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string Treename { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
        public int Pid { get; set; }

        /// <summary>
        /// 认证人
        /// </summary>
        public string AuthName { get; set; }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public int Ordernum { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 图标路径
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 父集合
        /// </summary>
        public List<Tree> Children { get; set; }

    }
}
